package com.czl.lunt.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NonNull;

@Data
public class UserDTO {
    @Schema(description = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;

    @Schema(description = "用户昵称")
    @NotBlank(message = "用昵称不能为空")
    private String nickname;

    @Schema(description = "用户密码")
    @NotBlank(message = "用户密码不能为空")
    private String password;

    @Schema(description = "重复密码")
    @NotBlank(message = "重复密码不能为空")
    private String passwordRepeat;
}
